"""operational URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""

from django.conf.urls import url

from . import views

urlpatterns = [
    # ################################################## #
    #                       村民                         #
    # ################################################## #
    url(r'^villager/', views.villager),
    # 更新数据
    url(r'^updateVillager', views.update_villager),
    # 新增数据
    url(r'^createVillager', views.create_villager),
    # 删除数据
    url(r'^deleteVillager', views.delete_villager),
    # 获取数据
    url(r'^getVillagerById/', views.get_villager_by_id),

    # ################################################## #
    #                       党员                         #
    # ################################################## #
    url(r'^partyMember/', views.party_member),
    # 更新数据
    url(r'^updatePartyMember', views.update_party_member),
    # 新增数据
    url(r'^createPartyMember', views.create_party_member),
    # 删除数据
    url(r'^deletePartyMember', views.delete_party_member),
    # 获取数据
    url(r'^getPartyMemberById/', views.get_party_member_by_id),

    # ################################################## #
    #                       妇女                         #
    # ################################################## #
    url(r'^women/', views.women),
    # 更新数据
    url(r'^updateWomen', views.update_women),
    # 新增数据
    url(r'^createWomen', views.create_women),
    # 删除数据
    url(r'^deleteWomen', views.delete_women),
    # 获取数据
    url(r'^getWomenById/', views.get_women_by_id),

    # ################################################## #
    #                     工程管理                       #
    # ################################################## #
    url(r'^project/', views.project),
    # 更新数据
    url(r'^updateProject', views.update_project),
    # 新增数据
    url(r'^createProject', views.create_project),
    # 删除数据
    url(r'^deleteProject', views.delete_project),
    # 获取数据
    url(r'^getProjectById/', views.get_project_by_id),

    # ################################################## #
    #                       资产                         #
    # ################################################## #
    url(r'^asset/', views.asset),
    # 更新数据
    url(r'^updateAsset', views.update_asset),
    # 新增数据
    url(r'^createAsset', views.create_asset),
    # 删除数据
    url(r'^deleteAsset', views.delete_asset),
    # 获取数据
    url(r'^getAssetById/', views.get_asset_by_id),

    # ################################################## #
    #                       宗教                         #
    # ################################################## #
    url(r'^religion/', views.religion),
    # 更新数据
    url(r'^updateReligion', views.update_religion),
    # 新增数据
    url(r'^createReligion', views.create_religion),
    # 删除数据
    url(r'^deleteReligion', views.delete_religion),
    # 获取数据
    url(r'^getReligionById/', views.get_religion_by_id),

    # ################################################## #
    #                       企业                         #
    # ################################################## #
    url(r'^enterprise/', views.enterprise),
    # 更新数据
    url(r'^updateEnterprise', views.update_enterprise),
    # 新增数据
    url(r'^createEnterprise', views.create_enterprise),
    # 删除数据
    url(r'^deleteEnterprise', views.delete_enterprise),
    # 获取数据
    url(r'^getEnterpriseById/', views.get_enterprise_by_id),

    # ################################################## #
    #                       九小                         #
    # ################################################## #
    url(r'^nine/', views.nine),
    # 更新数据
    url(r'^updateNine', views.update_nine),
    # 新增数据
    url(r'^createNine', views.create_nine),
    # 删除数据
    url(r'^deleteNine', views.delete_nine),
    # 获取数据
    url(r'^getNineById/', views.get_nine_by_id),

    # ################################################## #
    #                      新市民                        #
    # ################################################## #
    url(r'^newCitizen/', views.new_citizen),
    # 更新数据
    url(r'^updateNewCitizen', views.update_new_citizen),
    # 新增数据
    url(r'^createNewCitizen', views.create_new_citizen),
    # 删除数据
    url(r'^deleteNewCitizen', views.delete_new_citizen),
    # 获取数据
    url(r'^getNewCitizenById/', views.get_new_citizen_by_id),

    # ################################################## #
    #                       残疾人                         #
    # ################################################## #
    url(r'^handicapped/', views.handicapped),
    # 更新数据
    url(r'^updateHandicapped', views.update_handicapped),
    # 新增数据
    url(r'^createHandicapped', views.create_handicapped),
    # 删除数据
    url(r'^deleteHandicapped', views.delete_handicapped),
    # 获取数据
    url(r'^getHandicappedById/', views.get_handicapped_by_id),

    # ################################################## #
    #                       退役军人                     #
    # ################################################## #
    url(r'^veterans/', views.veterans),
    # 更新数据
    url(r'^updateVeterans', views.update_veterans),
    # 新增数据
    url(r'^createVeterans', views.create_veterans),
    # 删除数据
    url(r'^deleteVeterans', views.delete_veterans),
    # 获取数据
    url(r'^getVeteransById/', views.get_veterans_by_id),

    # ################################################## #
    #                       低保                         #
    # ################################################## #
    url(r'^lowIncome/', views.low_income),
    # 更新数据
    url(r'^updateLowIncome', views.update_low_income),
    # 新增数据
    url(r'^createLowIncome', views.create_low_income),
    # 删除数据
    url(r'^deleteLowIncome', views.delete_low_income),
    # 获取数据
    url(r'^getLowIncomeById/', views.get_low_income_by_id),

    # ################################################## #
    #                     低保边缘                       #
    # ################################################## #
    url(r'^lowIncomeMargin/', views.low_income_margin),
    # 更新数据
    url(r'^updateLowIncomeMargin', views.update_low_income_margin),
    # 新增数据
    url(r'^createLowIncomeMargin', views.create_low_income_margin),
    # 删除数据
    url(r'^deleteLowIncomeMargin', views.delete_low_income_margin),
    # 获取数据
    url(r'^getLowIncomeMarginById/', views.get_low_income_margin_by_id),

    # ################################################## #
    #                    低收入家庭                      #
    # ################################################## #
    url(r'^lowIncomeFamily/', views.low_income_family),
    # 更新数据
    url(r'^updateIncomeFamily', views.update_low_income_family),
    # 新增数据
    url(r'^createIncomeFamily', views.create_low_income_family),
    # 删除数据
    url(r'^deleteIncomeFamily', views.delete_low_income_family),
    # 获取数据
    url(r'^getIncomeFamilyById/', views.get_low_income_family_by_id),

    # ################################################## #
    #                       农业                         #
    # ################################################## #
    url(r'^agricultural/', views.agricultural),
    # 更新数据
    url(r'^updateAgricultural', views.update_agricultural),
    # 新增数据
    url(r'^createAgricultural', views.create_agricultural),
    # 删除数据
    url(r'^deleteAgricultural', views.delete_agricultural),
    # 获取数据
    url(r'^getAgriculturalById/', views.get_agricultural_by_id),

    # ################################################## #
    #                       环境                         #
    # ################################################## #
    url(r'^environment/', views.environment),
    # 更新数据
    url(r'^updateEnvironment', views.update_environment),
    # 新增数据
    url(r'^createEnvironment', views.create_environment),
    # 删除数据
    url(r'^deleteEnvironment', views.delete_environment),
    # 获取数据
    url(r'^getEnvironmentById/', views.get_environment_by_id),

]
